
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/tld/struts-bean" prefix="bean"%> 
<%@ taglib uri="/WEB-INF/tld/struts-html" prefix="html"%>
<%@ taglib uri="/WEB-INF/tld/struts-logic" prefix="logic" %>
<%@ taglib uri="/WEB-INF/tld/jstl/c" prefix="c" %>
<%@ taglib uri="/WEB-INF/tld/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="/WEB-INF/tld/jstl/fn" prefix="fn" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0020)/ -->
<HTML 
xmlns="http://www.w3.org/1999/xhtml">
<HEAD><TITLE>证券资讯网</TITLE>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">

<link rel="stylesheet" href="/homeSite/css/index.css">
<link rel="stylesheet" href="/homeSite/css/top.css">
<link rel="stylesheet" href="/homeSite/css/news_list.css">

</head>
<body>
	<DIV class=Container>
	<%@ include file="/static/homeSite_head_login.jsp" %>
	<%@ include file="/static/homeSite_head_nav.jsp" %>
    </DIV>
  
  <!-- 正文内容 -->
  <div class="content">
  	 <div class="news_list_body">
  	 
  	  <!-- 新闻列表页导航块  -->
  	  <div class="news_list_nav">
  	  	  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href=""><span>首页</span></a> 
  	  	  <c:if test="${navList!=null}">
  	  	  <c:forEach items="${navList}" var="nav" varStatus="varStatus">
  	  	    >><a href="/homeSite/search/homeSiteSearch.do?classId=${nav.id}" target="_blank"><span>${nav.names}</span></a>
  	  	  </c:forEach>
  	  	  </c:if>
  	  </div>
  	 	
  	 	<!-- 新闻列表页左边区块  -->
  	 	  <div class="news_list_left">

  	 	  	   <div class="perfect_news">
  	 	  	   	   <div class="perfect_news_title">
  	 	  	   	    	 <span>
	  	 	  	   	    	 <c:if test="${COLUMN_SEARCH_COMMEND_NEWS_1!=null  && COLUMN_SEARCH_COMMEND_NEWS_1.homeSiteNewsClass!=null}">
			   	       	        <a href="/homeSite/search/homeSiteSearch.do?classId=${COLUMN_SEARCH_COMMEND_NEWS_1.homeSiteNewsClass.id}" target="_blank">推荐新闻</a>
			   	       	     </c:if>
		   	       	     </span>
  	 	  	   	   </div>
  	 	  	   	   <div class="perfect_news_list">
  	 	  	   	    	 <ul>
	  	 	  	   	    	 <c:if test="${COLUMN_SEARCH_COMMEND_NEWS_1!=null  && COLUMN_SEARCH_COMMEND_NEWS_1.homeSiteNewsList!=null}">
		   	       	           <c:forEach items="${COLUMN_SEARCH_COMMEND_NEWS_1.homeSiteNewsList}" var="COLUMN_SEARCH_COMMEND_NEWS_1" varStatus="COLUMN_SEARCH_COMMEND_NEWS_1_STS">
		   	       	             <li><a href="/html/news/${COLUMN_SEARCH_COMMEND_NEWS_1.filePath}" target="_blank">${fn:substring(COLUMN_SEARCH_COMMEND_NEWS_1.title,0,13)}</a></li>
		   	       	           </c:forEach>
		   	       	         </c:if>
  	 	  	   	    	 </ul>
  	 	  	   	    </div>
  	 	  	   </div>
  	 	  	   
  	 	  	   
  	 	  	   <div class="perfect_news">
  	 	  	   	   <div class="perfect_news_title">
  	 	  	   	    	 <span>
  	 	  	   	    	     <c:if test="${COLUMN_SEARCH_COMMEND_NEWS_2!=null  && COLUMN_SEARCH_COMMEND_NEWS_2.homeSiteNewsClass!=null}">
			   	       	        <a href="/homeSite/search/homeSiteSearch.do?classId=${COLUMN_SEARCH_COMMEND_NEWS_2.homeSiteNewsClass.id}" target="_blank">推荐新闻</a>
			   	       	     </c:if>
			   	       	 </span>
  	 	  	   	   </div>
  	 	  	   	   <div class="perfect_news_list">
  	 	  	   	    	 <ul>
	  	 	  	   	    	 <c:if test="${COLUMN_SEARCH_COMMEND_NEWS_2!=null  && COLUMN_SEARCH_COMMEND_NEWS_2.homeSiteNewsList!=null}">
		   	       	           <c:forEach items="${COLUMN_SEARCH_COMMEND_NEWS_2.homeSiteNewsList}" var="COLUMN_SEARCH_COMMEND_NEWS_2" varStatus="COLUMN_SEARCH_COMMEND_NEWS_2_STS">
		   	       	             <li><a href="/html/news/${COLUMN_SEARCH_COMMEND_NEWS_2.filePath}" target="_blank">${fn:substring(COLUMN_SEARCH_COMMEND_NEWS_2.title,0,13)}</a></li>
		   	       	           </c:forEach>
		   	       	         </c:if>
  	 	  	   	    	 </ul>
  	 	  	   	    </div>
  	 	  	   </div>
  	 	  	   
  	 	  	   
  	 	  	   
  	 	  	   <div class="financial_news">
  	 	  	   	
  	 	  	   </div>
  	 	  </div>
  	 	  
  	 	   <!-- 新闻列表页右边区块  -->
  	 	  <div class="news_list_right">
  	 	  	 <div class="news_list_title">
  	 	  	 	  <span>文章列表标题</span>
  	 	  	 </div>
  	 	  	 
  	 	  	 <div class="news_list">
  	 	  	 	  <ul>
  	 	  	 	     <c:if test="${homeSiteNewsList!=null}">
	  	 	  	 	     <c:forEach var="homeSiteNews" varStatus="homeSiteNewsSts" items="${homeSiteNewsList}">
	  	 	  	 	         <li class="rightPic"><span class="listLeftTitle"><img src="/homeSite/images/20060905030519342.gif"/><a href="/html/news/${homeSiteNews.filePath}" target="_blank"><span>${fn:substring(homeSiteNews.title,0,24)}</span></a></span><span class="date_right">${fn:substring(homeSiteNews.createDatetime,0,10)}</span></li>
	  	 	  	 	         <c:if test="${(homeSiteNewsSts.index+1) % 5 == 0}">
  	 	  	 	  	           <li>&nbsp;&nbsp;</li>	  	 	  	 	         
	  	 	  	 	         </c:if>
	  	 	  	 	     </c:forEach>
  	 	  	 	     </c:if>
  	 	  	 	  	 
  	 	  	 	  </ul>
  	 	  	 	  
  	 	  	 </div>
  	 	  	 
  	 	  	 <div class="news_list_page">
  	 	  	    <div class="news_list_page_text">
  	 	  	         <c:if test="${curPage!=null}">
   	 	  	 	        <c:set var="curPage" value="${curPage}"></c:set>
  	 	  	 	     </c:if>
  	 	  	 	     
  	 	  	 	     <c:if test="${curPage==null}">
   	 	  	 	        <c:set var="curPage" value="0"></c:set>
  	 	  	 	     </c:if>
  	 	  	 	     
  	 	  	 	     <c:if test="${allPage!=null}">
   	 	  	 	        <c:set var="allPage" value="${allPage}"></c:set>
  	 	  	 	     </c:if>
  	 	  	 	     
  	 	  	 	     <c:if test="${allPage==null}">
   	 	  	 	        <c:set var="allPage" value="0"></c:set>
  	 	  	 	     </c:if>
  	 	  	 	 
  	 	  	 	     <c:if test="${backPage!=null  && backPage>0}">
  	 	  	 	      <a href="/homeSite/search/homeSiteSearch.do?classId=${classId}&page=${backPage}&keyWords=${keyWords}" target="_self">上一页</a>
  	 	  	 	     </c:if>
  	 	  	 	     
  	 	  	 	      <c:if test="${allPage>0 && allPage<10}">
  	 	  	 	        <c:forEach var="onlyTenPage" varStatus="onlyTenPageSts" begin="1" end="${allPage}">
  	 	  	 	            <!-- 显示当前显示页数 -->
  	 	  	 	            <a href="/homeSite/search/homeSiteSearch.do?classId=${classId}&page=${onlyTenPage}&keyWords=${keyWords}" target="_self">
  	 	  	 	            <c:if test="${onlyTenPage == curPage}">
  	 	  	 	              <font color="red"><strong>${onlyTenPage}</strong></font>
  	 	  	 	            </c:if>
  	 	  	 	            
  	 	  	 	             <c:if test="${onlyTenPage != curPage}">
  	 	  	 	              ${onlyTenPage}
  	 	  	 	             </c:if>
  	 	  	 	            
  	 	  	 	            </a>
  	 	  	 	        </c:forEach>
  	 	  	 	     </c:if>
  	 	  	 	     
  	 	  	 	     
  	 	  	 	     <c:if test="${allPage>10}">
  	 	  	 	         <c:forEach  var="onePageDisplayPage" varStatus="onePageDisplayPageSts" begin="0" end="9">
  	 	  	 	             <c:set var="displayPage" value="${curDisplayPage * 10 - (9 - onePageDisplayPage)}" />
  	 	  	 	              <!-- 显示当前显示页数 -->
  	 	  	 	              <c:if test="${displayPage< allPage}">
  	 	  	 	               <a href="/homeSite/search/homeSiteSearch.do?classId=${classId}&page=${displayPage}&keyWords=${keyWords}" target="_self">
  	 	  	 	                 <c:if test="${displayPage == curPage}">
	  	 	  	 	              <font color="red"><strong>${displayPage}</strong></font>
	  	 	  	 	            </c:if>
	  	 	  	 	            
	  	 	  	 	             <c:if test="${displayPage != curPage}">
	  	 	  	 	              ${displayPage}
	  	 	  	 	             </c:if>
  	 	  	 	               </a>
  	 	  	 	              </c:if>
  	 	  	 	         </c:forEach>
  	 	  	 	     </c:if>
  	 	  	 	     
  	 	  	 	     
  	 	  	 	     
  	 	  	 	      <c:if test="${nextPage!=null  && nextPage>0}">
  	 	  	 	      <a href="/homeSite/search/homeSiteSearch.do?classId=${classId}&page=${nextPage}&keyWords=${keyWords}" target="_self">下一页</a>
  	 	  	 	     </c:if>
  	 	  	 	  </div>
  	 	  	 </div>
  	 	  </div>
  	 	  
  	 	  
  	 </div>
  	 
  </div>
  <div class="blank_space">
  	
  </div>
   <!--  主要板块 -->
  	<%@ include file="/static/detail_main_panal.jsp" %>
	<%@ include file="/static/detail_foot.jsp" %>	
 
</body>
</html>